import requests
from bs4 import BeautifulSoup
result=requests.get("http://www.techlabplt.com:8080/BD-PC/priceList")
soup=BeautifulSoup(result.text,'html.parser')
lists=soup.find_all('ul')
print(len(lists))    #输出返回结果的元素数量
print(lists)         #输出网页所有ul标签
allNavA=soup.find_all('a','navFisrt')
for l in allNavA:
    print(l.text,' ',l.get('href'))
tBody=soup.find_all('tbody',id='tableBody')
print(tBody)
